package com.cskaoyan.mall.dao;

import com.cskaoyan.mall.model.Admin;
import com.cskaoyan.mall.model.bo.*;

import java.util.List;

public interface AdminDao {
    int login(AdminLoginBO loginBO);

    List<Admin> allAdmins();

    List<Admin> searchAdmins(SearchAdminBO searchAdminBO);

    int addAdminss(AdminAddBO adminAddBO);

    int updateAdminss(Admin admin);

    Admin getAdminInfo(String id);

    int deleteAdmins(String id);

    int changePwd(ChangePwdBO changePwdBO);
}
